// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import VueBus from 'vue-bus';
import VueScroller from 'vue-scroller'
import App from './App';
import router from './router';
//import "@/assets/js/iScroll";
Vue.use(VueScroller)
Vue.use(VueBus);
Vue.config.productionTip = false;

/* eslint-disable no-new */
var vm = new Vue({
    el: '#app',
    router,
    template: '<App/>',
    components: { App },
    mounted: function() {
        this.$nextTick(() => {
            console.log(this);
        });
    }
});